package backed.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;


@Schema(description = "用户注册请求")
@Data
public class RegisterRequest {

    @Schema(description = "用户账号", example = "newuser", required = true)
    @NotBlank
    private String account;
    
    @Schema(description = "用户密码", example = "123456", required = true)
    @NotBlank
    private String password;
}
